package com.LachesismStorm.lachesism.member.service;

import com.LachesismStorm.lachesism.core.common.response.ResponseResult;
import com.LachesismStorm.lachesism.member.dto.UmsMemberParam;
import com.LachesismStorm.lachesism.member.vo.MemberUpdateParam;
import com.LachesismStorm.lachesism.member.vo.MessageVO;
import com.LachesismStorm.lachesism.member.vo.NoteVO;
import com.LachesismStorm.lachesism.member.vo.UmsMember;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;

/**
 * 会员管理Service
 */
@Service
public interface UmsMemberService {

    /**
     * 获取用户信息
     */
    UserDetails loadUserByUsername(String username);
    /**
     * 注册
     *
     * @return
     */
    String loginByPhone(UmsMemberParam memberParam);

    void sendMessage(UmsMemberParam memberParam);

    UmsMember getUserInfo();

    void updateMemberInfo(UmsMember member);

    void sendAMessage(MessageVO messageVO);


}





